﻿CREATE TABLE [dbo].[Advert]
(
	Text nvarchar(255) NOT NULL, 
	OrderId int NOT NULL,
	Position tinyint NULL
);
GO
ALTER TABLE Advert
	ADD FOREIGN KEY(OrderId) REFERENCES [dbo].[Order](ID) ON UPDATE NO ACTION ON DELETE CASCADE